package ds;

import java.util.ArrayList;
import java.util.HashMap;

public class DocInfo {
	public String label;
	public HashMap<Integer, Double> wordId2TF;
	public ArrayList<Double> termWeight;
	
	public DocInfo(){
		label = "null";
		wordId2TF = new HashMap<Integer, Double>();
		termWeight = new ArrayList<Double>();
	}
	
	public DocInfo(DocInfo doc){
		this.label = doc.label;
		this.wordId2TF = new HashMap<Integer, Double>();
        this.wordId2TF.putAll(doc.wordId2TF);
		this.termWeight = new ArrayList<Double>();
		this.termWeight.addAll(doc.termWeight);
	}
}
